<?php
class AppraiseModel extends Orm_Base{
    public $table = 'appraise';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'w_id' => array('type' => "int(11) unsigned",'comment' => '关联护工ID'),
        'description' => array('type' => "varchar(200)",'coment' => '事因'),
        'status' => array('type' => "tinyint(1)",'coment' => '加减分(1.加分、2.减分)'),
        'score' => array('type' => "int(5)",'comment' => '分数'),
        'user' => array('type' => "varchar(20)",'comment' => '操作人员'),
        'is_delete' => array('type' => "tinyint(1)",'comment' => '是否删除'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
} 
?>
